package com.cskaoyan.service.wx;

import com.cskaoyan.bean.cart.Cart;
import com.cskaoyan.bo.cartBo.CartCheckedBo;
import com.cskaoyan.bo.cartBo.CartDeleteBo;
import com.cskaoyan.vo.wx.CartListVo;
import com.cskaoyan.vo.wx.CheckOut_FlagVo;

public interface CartService {
    CartListVo index(Integer userId);

    CartListVo checked(CartCheckedBo cartCheckedBo, Integer userId);

    long add(Cart cart);

    long goodsCount(Integer userId);

    int update(Cart cart);

    CartListVo delete(CartDeleteBo cartDeleteBo);

    long fastAdd(Cart cart);

    CheckOut_FlagVo checkOut(Integer cartId, Integer addressId, Integer couponId, Integer grouponRulesId, Integer userId);
}
